<?php
return array(
    'limit' => array(
        'label' => '显示书本数量',
        'error' => '',
        'userOptions' => array(),
        'description' => '只在非书本文章页有效',
        'widget' => 'Numeric',
        'validate' => array(),
        'filter' => array('intval'),
        'attributes' => array(
            'class' => 'form-control',
        ),
        'required' => true,
    ),
    'layout' => array(
        'label' => '布局',
        'error' => '',
        'userOptions' => [],
        'description' => '只在非书本文章页有效',
        'widget' => 'Select',
        'validate' => [],
        'options' => [
            'list' => '列表',
            'description' => '带描述的列表',
            'image' => '图片列表'
        ],
        'filter' => array('striptags'),
        'attributes' => array(
            'class' => 'form-control',
        ),
        'required' => true,
    ),
    'subLength' => array(
        'label' => '描述截取长度',
        'error' => '',
        'userOptions' => array(),
        'description' => '只在非书本文章页有效',
        'widget' => 'Numeric',
        'default' => 200,
        'validate' => array(),
        'filter' => array('striptags'),
        'attributes' => array(
            'class' => 'form-control',
        ),
        'required' => true,
    ),
    'imageSize' => array(
        'label' => '缩略图尺寸',
        'error' => '宽度*高度，如：200*50，只在非书本文章页有效',
        'userOptions' => array(),
        'description' => '',
        'widget' => 'Text',
        'default' => '200*50',
        'validate' => array(),
        'filter' => array('striptags'),
        'attributes' => array(
            'class' => 'form-control',
        ),
        'required' => true,
    ),
);
